home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
text1
/
cms_help_files
/
rff.helpmark
< prev
next >
Wrap
Text File
|
1991-10-23
|
6KB
|
130 lines
+-----------------------------------------------------------------------------+
| runningheadformat |
+-----------------------------------------------------------------------------+
\runningfootformat{
\bothpages{\vs{1\bl}
\line{\twelvept\rm\lft{}
\ctr{}\rt{}}}
}
Abbreviation: π|\rffπ%
Parameters: π|submarkupπ%
Submarkup: π|\bothpages, \evenpages, \oddpagesπ%
π|Description:π%
The \runningfootformat markup provides running titles at the bottom of all
pages except the title page. The default running bottom title for TEXT1 is
blank.
\bothpages is used to place the same running foot at the bottom of both the
even and odd pages. The \line markup defines a single title line. Within
it, you may center, left align, or right align text, using the submarkup
\ctr, \lft, or \rt. Besides \line, you may also use markup such as \hrule
and \verticalspace.
\evenpages is used to place the same running foot at the bottom of each
even page. The \line markup defines a single title line. Within it,
you may center, left align, or right align text, using the submarkup \ctr,
\lft, or \rt. Besides \line, you may also use markup such as \hrule and
\verticalspace.
\oddpages is used to place the same running foot at the bottom of each
odd page. The \line markup defines a single title line. Within it, you
may center, left align, or right align text, using the submarkup \ctr,
\lft, or \rt. Besides \line, you may also use markup such as \hrule and
\verticalspace.
π|Example:π%
This example prints the date and author's initials at the bottom of each
page.
\runningfootformat{
\bothpages{\vs{18pt}
\line{\rm\lft{\today}\ctr{}\rt{JNP}}
}
}
which produces a running foot as illustrated on the next page.
+-----------------------------------------------------------------------------+
| |
| January 13, 1987 JNP |
| |
+-----------------------------------------------------------------------------+
π|Example:π%
This example illustrates the use of odd and even page layout with two lines.
The page number alternates sides so that it appears on the outside of the
page. The title appears above the subtitle on even pages. The author's
name appears above the journal name on odd pages.
\runningfootformat{
\evenpages{\line{\lft{\pagenumber}
\rt{Sociogeology}}
\vs{2pt}}
\line{\rt{A New Science}}
\vs{\bl}}
\oddpages{\line{\lft{A. Chert}
\rt{\pagenumber}}
\vs{2pt}}
\line{\lft{SPP---UP}}
\vs{\bl}}
}
which produces on even page numbers a running foot that looks like:
+-----------------------------------------------------------------------------+
| |
| 22 Sociogeology |
| A New Science |
| |
+-----------------------------------------------------------------------------+
and produces on odd page numbers a running foot that looks like:
+-----------------------------------------------------------------------------+
| |
| A. Chert 11 |
| SPP---UP |
| |
+-----------------------------------------------------------------------------+
π|Notes:π%
An empty \lft, \ctr, or \rt may be omitted as was done in the above example.
A construct such as,
\rff{\bothpages{
\line{\lft{page \pn}\ctr{\today}
\rt{PNW Waterfalls}}}}
will not print the date centered on the page:
+-----------------------------------------------------------------------------+
| |
| page 7 January 13, 1987 PNW Waterfalls |
| |
+-----------------------------------------------------------------------------+
To accomplish this, you should print the left and right justified text with
\line, then space backwards one line (\verticalspace{-\bl}), then center the
date:
\rff{\bothpages{\line{\lft{page \pn}
\rt{PNW Waterfalls}}}
\vs{-\bl}
\line{\ctr{\today}}}
+-----------------------------------------------------------------------------+
| |
| page 8 January 13, 1987 PNW Waterfalls |
| |
+-----------------------------------------------------------------------------+
The \runningfootformat markup must come after the \monospace markup, if
both are used.